package com.yuda.campsite.service.impl;

import com.yuda.campsite.domain.RegisteredUser;
import com.yuda.campsite.mapper.RegisteredUserMapper;
import com.yuda.campsite.service.RegisteredUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Author: xiaohudie
 * @Date: 2021/11/24 10:24
 * @Version: 1.8
 */
@Service
public class RegisteredUserServiceImpl implements RegisteredUserService {

    @Resource
    private RegisteredUserMapper registeredUserMapper;

    @Override
    public List<RegisteredUser> registerView(Map<String, Object> params, String provinceName, String cityName, String studentName, String schoolName, Integer qisi, Integer offset) {
        return registeredUserMapper.registerView(params,provinceName, cityName, studentName, schoolName, qisi, offset);
    }

    @Override
    public int shengheUrl(String achievementPath, String campsiteId, String idCard) {
        return registeredUserMapper.shengheUrl(achievementPath, campsiteId, idCard);
    }

    @Override
    public int FenHao(String isDisable, String phone) {
        return registeredUserMapper.FenHao(isDisable, phone);
    }

    @Override
    public String isFenhao(String phone) {
        return registeredUserMapper.isFenhao(phone);
    }

    @Override
    public int getCount(Map<String, Object> params, String provinceName, String cityName, String studentName, String schoolName) {
        return registeredUserMapper.getCount(params,provinceName, cityName, studentName, schoolName);
    }
}
